package com.cattsoft.action;

import java.io.InputStream;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class DownloadAction extends ActionSupport {

	public InputStream getInputStream() {
		return ServletActionContext.getServletContext().getResourceAsStream(
				"/upload/g.gif");
	}

	@Override
	public String execute() throws Exception {
		return SUCCESS;
	}

}
